package com.liuceng.zen.constants;

public class Constants {

  public static final String PROVINCE = "P";
  public static final String CITY = "C";
  public static final String AREA = "A";

  public static final String OK = "ok";
  public static final String ERR = "err";
  public static final String OK_MSG = "okmessage";

  /**
   * The action execution was successful.
   */
  public static final String SUCCESS = "success";

  /**
   * The action execution was a fail.
   */
  public static final String FAIL = "fail";

  /**
   * The Remote execution was a error
   */
  public static final String ERROR = "error";

  // 时间相关常量
  public static final int SECOND = 1;
  public static final int MILLI = 1;
  public static final int MINUTE = 60 * SECOND;
  public static final int HOUR = 60 * MINUTE;
  public static final int DAY = 24 * HOUR;

  public static final int SECOND_OF_MILLI = 1000 * MILLI;
  public static final int MINUTE_OF_MILLI = 60 * SECOND_OF_MILLI;
  public static final int HOUR_OF_MILLI = 60 * MINUTE_OF_MILLI;
  /**
   * 时间格式常量yyyy-MM-dd HH:mm:ss
   */
  public static final String DATE_FORMAT_LONG_ONE = "yyyy-MM-dd HH:mm:ss";
  /**
   * 时间格式常量yyyy-MM-dd HH:mm
   */
  public static final String DATE_FORMAT_LONG = "yyyy-MM-dd HH:mm";
  /**
   * 时间格式常量yyyy-MM-dd
   */
  public static final String DATE_FORMAT_SIMPLE = "yyyy-MM-dd";

  public static final String DATE_TAIL_START = " 00:00:00";

  public static final String DATE_TAIL_END = " 23:59:59";

  public static final String COOKIE_CODE = "COOKIE_CODE";

  public static final int PAGE_SIZE = 50;


  public static final int SITESET_TYPE_PC = 0;
  public static final int SITESET_TYPE_MOBILE = 1;


}
